import request from "@/sheep/request";

export default {
  login: (params) =>
    request({
      url: "/app_api.php?t=login&op=login",
      method: "POST",
      data: params,
    }),
  auth: (params) =>
    request({
      url: "/app_api.php?t=login&op=auth",
      method: "POST",
      data: params,
    }),
    login_out: (params) =>
      request({
        url: "/app_api.php?t=login_out&op=login_out",
        method: "POST",
        data: params,
      }),
};
